import java.awt.Color;

public class Test{
  public static void main(String[] args){
    CBoard root = new CBoard();
    Color[] bo = root._board;
    bo[1 <<3| 2] = root._curPlayer;
    bo[1 <<3| 3] = root._otherPlayer;
    bo[1 <<3| 5] = root._curPlayer;
    bo[2 <<3| 3] = root._curPlayer;
    bo[2 <<3| 5] = root._curPlayer;
    bo[3 <<3| 3] = root._otherPlayer;
    bo[3 <<3| 5] = root._curPlayer;
    bo[4 <<3| 2] = root._otherPlayer;
    bo[4 <<3| 5] = root._curPlayer;
    bo[5 <<3| 1] = root._otherPlayer;
    bo[5 <<3| 3] = root._curPlayer;
    bo[6 <<3| 0] = root._otherPlayer;
    bo[6 <<3| 2] = root._curPlayer;
    root.setValidMoves();

    System.out.println(" 12345678");
    for (int i = 0; i < 64; i++){
      if ((i&7) == 0) System.out.print("" + ((i >> 3)+1));
      if (root._curValidMoves[i])
        System.out.print("W");
//    else if (root._otherValidMoves[i])
//      System.out.print("B");
      else if (root._board[i] == root._curPlayer)
        System.out.print("o");
      else if (root._board[i] == root._otherPlayer)
        System.out.print("X");
      else
        System.out.print(" ");
      if (i % 8 == 7) System.out.println("");
    }
  }
}
